package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.OrderBill;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface OrderBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderBill record);

    OrderBill selectByPrimaryKey(Long id);

    List<OrderBill> selectAll();

    int updateByPrimaryKey(OrderBill record);


    List<OrderBill> query(QueryObject qo);
    Integer count(QueryObject qo);

    void deleteItemByBillId (Long billId);

    //审核订单
    void audit(OrderBill record);
}